'use strict';
/**
 * db config
 * @type {Object}
 */
export default {
    type: 'mysql',
    log_sql: true,
    log_connect: true,
    adapter: {
        mysql: {
            host: '127.0.0.1',
            port: '3306',
            database: 'jhadmin',
            user: 'root',
            password: 'root',
            prefix: '',
            encoding: 'utf8mb4'
        }
    },
    cache:{
        on: true,
        type: "memory",
        timeout: 600
    },
    // ssl: {
    //     ca: fs.readFileSync(__dirname + "/mysql-ca.crt")
    // }
};